﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Core.LockStep
{
    public interface IBackupData : IInterpolationData
    {
        int InstanceId { get; set; }
    }

    public abstract class BackupData<T> : StreamData<T>, IBackupData
    {
        public int InstanceId { get; set; }

        public abstract void InterpolationEnd();
    }

    [AttributeUsage(AttributeTargets.Class)]
    public class BackupDataIdAttribute : Attribute
    {
        public int id;

        public BackupDataIdAttribute(int id)
        {
            this.id = id;
        }
    }
}